<?php
echo '<pre>';
//print_r($_SERVER);
$payload = file_get_contents('php://input');//获取请求载荷数据
//$user = json_decode($payload); //返回对象
//echo $user->id, $user->name;

$user = json_decode($payload, true);//返回关联数组
echo $user['id'], $user['name'];
echo getallheaders()['Token'], '<br>';
print_r(getallheaders());
